using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ITS.Core.Domain.Common;
using ITS.DAL.Common;
using ITS.Factory;

namespace ITS.Services.Common
{
    public class CommonService : ICommonService
    {
        private ICommonRepository _commonRepository;
        public CommonService()
        {
            _commonRepository = NinjectRepositoriesFactory.Get<ICommonRepository>();
        }
        public IEnumerable<SupportedLanguage> GetAllSupportedLanguages()
        {
            return _commonRepository.GetAllSupportedLanguages();
        }
    }
}
